package com.scenic.userservice.mapper;

import com.scenic.common.bean.Comment;

import java.util.List;

public interface CommentMapper {
    //添加
    int insert(Comment comment);
    //根据id删除
    int delete(Integer id);
    //修改
    int update(Comment comment);
    //根据条件查询
    List<Comment> selectByCondition(Comment condition);
    //根据id查询
    Comment selectById(Integer id);
}
